package com.scrcu.core.batch.entity;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @Description:
 * @Author: 刘超
 * @Date: 2023-05-09 11:12
 */
@Setter
@Getter
public class BatchLock implements Serializable {

    private static final long serialVersionUID = -1273393795801976702L;

    /**
     * 批量集群锁编号
     */
    private String code;

    /**
     * 批量实例 IP:port
     */
    private String addr;

    /**
     * 版本号
     */
    private long version = 0L;

    /**
     * 状态
     */
    private short status;
}
